<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>

        //条件循环 for while
        /*
        let count = 0

        while (count < 10) {
            count++;
            console.log(count)
        }
         */

        for (let count = 0; count <= 10; count++) {
            console.log(count)
        }

    </script>

</head>
<body>

</body>
</html>